package com.jc.service.toy.impl;

import com.jc.base.page.Page;
import com.jc.base.ResultData;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.jc.dao.toy.ToyAberdeenCatgoryDao;
import com.jc.domain.toy.ToyAberdeenCatgory;
import com.jc.service.toy.ToyAberdeenCatgoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jc.base.Assert;
import com.jc.repository.generator.utils.Condition;
import com.jc.repository.generator.utils.ConditionsExtend;
import com.jc.utils.CollectionUtils;

import java.util.List;

/**
 * @author
 * @create 2016-12-13 09:32:26
 * @description
 */

@Service
public class ToyAberdeenCatgoryServiceImpl implements ToyAberdeenCatgoryService {

    private static final Logger LOGGER = LoggerFactory.getLogger(ToyAberdeenCatgoryServiceImpl.class);

    @Autowired
    private ToyAberdeenCatgoryDao toyAberdeenCatgoryDao;

    //this function automatic generated by application
    @Override
    public ToyAberdeenCatgory queryToyAberdeenCatgoryById(Long id) {
        return toyAberdeenCatgoryDao.queryToyAberdeenCatgoryById(id);
    }

    //this function automatic generated by application
    @Override
    public List<ToyAberdeenCatgory> saveOrInsertList(List<ToyAberdeenCatgory> toyAberdeenCatgorys) {
        return toyAberdeenCatgoryDao.saveOrInsertList(toyAberdeenCatgorys);
    }

    //this function automatic generated by application
    @Override
    public ToyAberdeenCatgory saveOrInsert(ToyAberdeenCatgory toyAberdeenCatgory) {
        return toyAberdeenCatgoryDao.saveOrInsert(toyAberdeenCatgory);
    }

    //this function automatic generated by application
    @Override
    public boolean deleteToyAberdeenCatgoryById(Long id) {
        return toyAberdeenCatgoryDao.deleteToyAberdeenCatgoryById(id);
    }


}